package jpa.entitys.synchro.staging;

import java.io.Serializable;

import javax.persistence.*;

import java.util.Date;


/**
 * The persistent class for the FI_RE_RECEIPT_INB database table.
 * 
 */
@Entity
@Table(name="FI_RE_RECEIPT_INB")
@NamedQueries({
    @NamedQuery(name = "FiReReceiptInb.findAll", query = " SELECT c FROM FiReReceiptInb c order by c.promisStagingId asc"),
    @NamedQuery(name = "FiReReceiptInb.findById", query = " SELECT c FROM FiReReceiptInb c WHERE  c.promisStagingId = :Id "),
    @NamedQuery(name = "FiReReceiptInb.findIsSync", query = " SELECT c FROM FiReReceiptInb c WHERE  c.issync = :issync  order by c.instanceNo asc"),
    @NamedQuery(name = "FiReReceiptInb.findByInstanceNo", query = " SELECT c FROM FiReReceiptInb c WHERE c.instanceNo = :instanceNo order by c.promisStagingId asc"),
    @NamedQuery(name = "FiReReceiptInb.findSapPoDoc", query = " SELECT c FROM FiReReceiptInb c WHERE c.extRefNo =:extRefNo And c.status =:status And c.issync = :issync And c.instanceNo = :instanceNo order by c.promisStagingId asc")
    })
public class FiReReceiptInb extends jpa.entitys.synchro.common.CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="PROMIS_STAGING_ID", length=100)
	private String promisStagingId;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}
	
	@Column(name="ACTION_HANDLER", nullable=false, length=20)
	private String actionHandler;

	@Column(name="ADDRESS_CUSTOMER", length=500)
	private String addressCustomer;

	@Column(length=30)
	private String amount;

	@Column(name="AMOUNT_RECEIVED", length=100)
	private String amountReceived;

	@Column(name="BANK_CARD_READER", length=100)
	private String bankCardReader;

	@Column(name="BANK_CHARGE", length=100)
	private String bankCharge;

	@Column(name="BANK_CHARGE1", length=100)
	private String bankCharge1;

	@Column(name="BANK_CODE", length=100)
	private String bankCode;

	@Column(name="BANK_DATE", length=20)
	private String bankDate;

	@Column(name="BOOKING_DOCUMENT_NO", length=100)
	private String bookingDocumentNo;

	@Column(length=300)
	private String branch;

	@Column(name="BUILDING_PHASE_CODE", length=30)
	private String buildingPhaseCode;

	@Column(name="CHEQUE_AMOUNT", length=100)
	private String chequeAmount;

	@Column(name="CHEQUE_DUE_DATE", length=100)
	private String chequeDueDate;

	@Column(name="CHEQUE_ISSUING_BANK", length=500)
	private String chequeIssuingBank;

	@Column(name="CHEQUE_NUMBER", length=100)
	private String chequeNumber;

	@Column(name="COMPANY_CODE", length=2)
	private String companyCode;

	@Column(name="CONTRACT_DOCUMENT_NO", length=100)
	private String contractDocumentNo;

	@Column(name="CREATED_BY", length=30)
	private String createdBy;

	@Column(name="CREATED_ON", length=20)
	private String createdOn;

	@Column(name="CREDIT_CARD_TYPE", length=100)
	private String creditCardType;

	@Column(name="CUSTOMER_CODE", length=100)
	private String customerCode;

	@Column(name="CUSTOMER_NAME", length=300)
	private String customerName;

	@Column(length=30)
	private String discount;

	@Column(name="EXT_REF_KEY", length=100)
	private String extRefKey;

	@Column(name="EXT_REF_NO", length=100)
	private String extRefNo;

	@Column(name="FLOOR_ZONE_CODE", length=100)
	private String floorZoneCode;

	@Column(name="INSTALLMENT_NUMBER", length=100)
	private String installmentNumber;

	@Column(name="INSTANCE_NO", nullable=false, length=100)
	private String instanceNo;

	@Column(name="INTEREST_RECEIVED", length=30)
	private String interestReceived;

	@Column(length=1)
	private String isactive;

	@Column(length=1)
	private String issync;

	@Column(name="MSG_ACT_RESULT", length=3700)
	private String msgActResult;

	@Column(name="MSG_ALT_DESC", length=3700)
	private String msgAltDesc;

	@Column(name="MSG_CODE", length=1500)
	private String msgCode;

	@Column(name="MSG_DESC", length=3700)
	private String msgDesc;

	@Column(length=200)
	private String narration;

	@Column(name="NET_AMOUNT_RECEIVED", length=30)
	private String netAmountReceived;

	@Column(name="PAYIN_DATE", length=20)
	private String payinDate;

	@Column(name="PAYMENT_SEQ", length=100)
	private String paymentSeq;

	@Column(name="PAYMENT_TYPE", length=100)
	private String paymentType;

	@Column(name="PLANT_CODE", length=4)
	private String plantCode;

	@Column(name="PROJECT")
	private String project;

	@Column(name="PROPERTY_TYPE_CODE", length=30)
	private String propertyTypeCode;

	@Column(name="RECEIPT_DATE", length=20)
	private String receiptDate;

	@Column(name="RECEIVED_FROM", length=100)
	private String receivedFrom;

	@Column(name="RECEIVED_TYPE", length=100)
	private String receivedType;

	@Column(name="REF_DOCUMENT", length=100)
	private String refDocument;

	@Column(name="REMARKS_D", length=500)
	private String remarksD;

	@Column(name="REMARKS_H", length=300)
	private String remarksH;

	@Column(name="SAP_COMPANY_CODE", length=4)
	private String sapCompanyCode;

	@Column(name="SAP_PLANT_CODE", length=4)
	private String sapPlantCode;

	@Column(name="SEQ_NO", length=100)
	private String seqNo;

	@Column(length=10)
	private String status;

	@Column(name="SYNC_CREATEDBY", length=100)
	private String syncCreatedby;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SYNC_CREATEDON")
	private Date syncCreatedon;

	@Column(name="SYNC_UPDATEDBY", length=100)
	private String syncUpdatedby;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SYNC_UPDATEDON")
	private Date syncUpdatedon;

	@Column(name="UNIT_NUMBER", length=100)
	private String unitNumber;

	@Column(name="UPDATED_BY", length=30)
	private String updatedBy;

	@Column(name="UPDATED_ON", length=20)
	private String updatedOn;

	@Column(name="VAT_AMOUNT", length=30)
	private String vatAmount;

	@Column(name="WHT_AMOUNT", length=30)
	private String whtAmount;
	
	@Column(name="INSTALLMENT_SEQ", length=30)
	private String installmentSeq;
	
	@Column(name="BANK_CHARGE_RATE", length=30)
	private String bankChageRate;
	
	@Column(name="INTERFACE_NO", length=100)
	private String interfaceNo;
	
	@Column(name="INSTALLMENT_DUE_AMOUNT")
	private String installmentDueAmount;
	
	@Column(name="PMS_RE_RECEIPT_NO")
	private String pmsReReceiptNo;
	
	@Column(name="CHEQUE_PDC_REF")
	private String chequePdcRef;
	
    /**
	 * @return the chequePdcRef
	 */
	public String getChequePdcRef() {
		return chequePdcRef;
	}

	/**
	 * @param chequePdcRef the chequePdcRef to set
	 */
	public void setChequePdcRef(String chequePdcRef) {
		this.chequePdcRef = chequePdcRef;
	}

	public String getPmsReReceiptNo() {
		return pmsReReceiptNo;
	}

	public void setPmsReReceiptNo(String pmsReReceiptNo) {
		this.pmsReReceiptNo = pmsReReceiptNo;
	}

	public String getInstallmentDueAmount() {
		return installmentDueAmount;
	}

	public void setInstallmentDueAmount(String installmentDueAmount) {
		this.installmentDueAmount = installmentDueAmount;
	}

	/**
	 * @return the interfaceNo
	 */
	public String getInterfaceNo() {
		return interfaceNo;
	}

	/**
	 * @param interfaceNo the interfaceNo to set
	 */
	public void setInterfaceNo(String interfaceNo) {
		this.interfaceNo = interfaceNo;
	}
	
    /**
	 * @return the bankChageRate
	 */
	public String getBankChageRate() {
		return bankChageRate;
	}



	/**
	 * @param bankChageRate the bankChageRate to set
	 */
	public void setBankChageRate(String bankChageRate) {
		this.bankChageRate = bankChageRate;
	}



	public FiReReceiptInb() {
    }

    
    
	/**
	 * @return the installmentSeq
	 */
	public String getInstallmentSeq() {
		return installmentSeq;
	}



	/**
	 * @param installmentSeq the installmentSeq to set
	 */
	public void setInstallmentSeq(String installmentSeq) {
		this.installmentSeq = installmentSeq;
	}



	public String getActionHandler() {
		return this.actionHandler;
	}

	public void setActionHandler(String actionHandler) {
		this.actionHandler = actionHandler;
	}

	public String getAddressCustomer() {
		return this.addressCustomer;
	}

	public void setAddressCustomer(String addressCustomer) {
		this.addressCustomer = addressCustomer;
	}

	public String getAmount() {
		return this.amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getAmountReceived() {
		return this.amountReceived;
	}

	public void setAmountReceived(String amountReceived) {
		this.amountReceived = amountReceived;
	}

	public String getBankCardReader() {
		return this.bankCardReader;
	}

	public void setBankCardReader(String bankCardReader) {
		this.bankCardReader = bankCardReader;
	}

	public String getBankCharge() {
		return this.bankCharge;
	}

	public void setBankCharge(String bankCharge) {
		this.bankCharge = bankCharge;
	}

	public String getBankCharge1() {
		return this.bankCharge1;
	}

	public void setBankCharge1(String bankCharge1) {
		this.bankCharge1 = bankCharge1;
	}

	public String getBankCode() {
		return this.bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getBankDate() {
		return this.bankDate;
	}

	public void setBankDate(String bankDate) {
		this.bankDate = bankDate;
	}

	public String getBookingDocumentNo() {
		return this.bookingDocumentNo;
	}

	public void setBookingDocumentNo(String bookingDocumentNo) {
		this.bookingDocumentNo = bookingDocumentNo;
	}

	public String getBranch() {
		return this.branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public String getBuildingPhaseCode() {
		return this.buildingPhaseCode;
	}

	public void setBuildingPhaseCode(String buildingPhaseCode) {
		this.buildingPhaseCode = buildingPhaseCode;
	}

	public String getChequeAmount() {
		return this.chequeAmount;
	}

	public void setChequeAmount(String chequeAmount) {
		this.chequeAmount = chequeAmount;
	}

	public String getChequeDueDate() {
		return this.chequeDueDate;
	}

	public void setChequeDueDate(String chequeDueDate) {
		this.chequeDueDate = chequeDueDate;
	}

	public String getChequeIssuingBank() {
		return this.chequeIssuingBank;
	}

	public void setChequeIssuingBank(String chequeIssuingBank) {
		this.chequeIssuingBank = chequeIssuingBank;
	}

	public String getChequeNumber() {
		return this.chequeNumber;
	}

	public void setChequeNumber(String chequeNumber) {
		this.chequeNumber = chequeNumber;
	}

	public String getCompanyCode() {
		return this.companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getContractDocumentNo() {
		return this.contractDocumentNo;
	}

	public void setContractDocumentNo(String contractDocumentNo) {
		this.contractDocumentNo = contractDocumentNo;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(String createdOn) {
		this.createdOn = createdOn;
	}

	public String getCreditCardType() {
		return this.creditCardType;
	}

	public void setCreditCardType(String creditCardType) {
		this.creditCardType = creditCardType;
	}

	public String getCustomerCode() {
		return this.customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getDiscount() {
		return this.discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getExtRefKey() {
		return this.extRefKey;
	}

	public void setExtRefKey(String extRefKey) {
		this.extRefKey = extRefKey;
	}

	public String getExtRefNo() {
		return this.extRefNo;
	}

	public void setExtRefNo(String extRefNo) {
		this.extRefNo = extRefNo;
	}

	public String getFloorZoneCode() {
		return this.floorZoneCode;
	}

	public void setFloorZoneCode(String floorZoneCode) {
		this.floorZoneCode = floorZoneCode;
	}

	public String getInstallmentNumber() {
		return this.installmentNumber;
	}

	public void setInstallmentNumber(String installmentNumber) {
		this.installmentNumber = installmentNumber;
	}

	public String getInstanceNo() {
		return this.instanceNo;
	}

	public void setInstanceNo(String instanceNo) {
		this.instanceNo = instanceNo;
	}

	public String getInterestReceived() {
		return this.interestReceived;
	}

	public void setInterestReceived(String interestReceived) {
		this.interestReceived = interestReceived;
	}

	public String getIsactive() {
		return this.isactive;
	}

	public void setIsactive(String isactive) {
		this.isactive = isactive;
	}

	public String getIssync() {
		return this.issync;
	}

	public void setIssync(String issync) {
		this.issync = issync;
	}

	public String getMsgActResult() {
		return this.msgActResult;
	}

	public void setMsgActResult(String msgActResult) {
		this.msgActResult = msgActResult;
	}

	public String getMsgAltDesc() {
		return this.msgAltDesc;
	}

	public void setMsgAltDesc(String msgAltDesc) {
		this.msgAltDesc = msgAltDesc;
	}

	public String getMsgCode() {
		return this.msgCode;
	}

	public void setMsgCode(String msgCode) {
		this.msgCode = msgCode;
	}

	public String getMsgDesc() {
		return this.msgDesc;
	}

	public void setMsgDesc(String msgDesc) {
		this.msgDesc = msgDesc;
	}

	public String getNarration() {
		return this.narration;
	}

	public void setNarration(String narration) {
		this.narration = narration;
	}

	public String getNetAmountReceived() {
		return this.netAmountReceived;
	}

	public void setNetAmountReceived(String netAmountReceived) {
		this.netAmountReceived = netAmountReceived;
	}

	public String getPayinDate() {
		return this.payinDate;
	}

	public void setPayinDate(String payinDate) {
		this.payinDate = payinDate;
	}

	public String getPaymentSeq() {
		return this.paymentSeq;
	}

	public void setPaymentSeq(String paymentSeq) {
		this.paymentSeq = paymentSeq;
	}

	public String getPaymentType() {
		return this.paymentType;
	}

	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}

	public String getPlantCode() {
		return this.plantCode;
	}

	public void setPlantCode(String plantCode) {
		this.plantCode = plantCode;
	}

	public String getProject() {
		return this.project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getPromisStagingId() {
		return this.promisStagingId;
	}

	public void setPromisStagingId(String promisStagingId) {
		this.promisStagingId = promisStagingId;
	}

	public String getPropertyTypeCode() {
		return this.propertyTypeCode;
	}

	public void setPropertyTypeCode(String propertyTypeCode) {
		this.propertyTypeCode = propertyTypeCode;
	}

	public String getReceiptDate() {
		return this.receiptDate;
	}

	public void setReceiptDate(String receiptDate) {
		this.receiptDate = receiptDate;
	}

	public String getReceivedFrom() {
		return this.receivedFrom;
	}

	public void setReceivedFrom(String receivedFrom) {
		this.receivedFrom = receivedFrom;
	}

	public String getReceivedType() {
		return this.receivedType;
	}

	public void setReceivedType(String receivedType) {
		this.receivedType = receivedType;
	}

	public String getRefDocument() {
		return this.refDocument;
	}

	public void setRefDocument(String refDocument) {
		this.refDocument = refDocument;
	}

	public String getRemarksD() {
		return this.remarksD;
	}

	public void setRemarksD(String remarksD) {
		this.remarksD = remarksD;
	}

	public String getRemarksH() {
		return this.remarksH;
	}

	public void setRemarksH(String remarksH) {
		this.remarksH = remarksH;
	}

	public String getSapCompanyCode() {
		return this.sapCompanyCode;
	}

	public void setSapCompanyCode(String sapCompanyCode) {
		this.sapCompanyCode = sapCompanyCode;
	}

	public String getSapPlantCode() {
		return this.sapPlantCode;
	}

	public void setSapPlantCode(String sapPlantCode) {
		this.sapPlantCode = sapPlantCode;
	}

	public String getSeqNo() {
		return this.seqNo;
	}

	public void setSeqNo(String seqNo) {
		this.seqNo = seqNo;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSyncCreatedby() {
		return this.syncCreatedby;
	}

	public void setSyncCreatedby(String syncCreatedby) {
		this.syncCreatedby = syncCreatedby;
	}

	public Date getSyncCreatedon() {
		return this.syncCreatedon;
	}

	public void setSyncCreatedon(Date syncCreatedon) {
		this.syncCreatedon = syncCreatedon;
	}

	public String getSyncUpdatedby() {
		return this.syncUpdatedby;
	}

	public void setSyncUpdatedby(String syncUpdatedby) {
		this.syncUpdatedby = syncUpdatedby;
	}

	public Date getSyncUpdatedon() {
		return this.syncUpdatedon;
	}

	public void setSyncUpdatedon(Date syncUpdatedon) {
		this.syncUpdatedon = syncUpdatedon;
	}

	public String getUnitNumber() {
		return this.unitNumber;
	}

	public void setUnitNumber(String unitNumber) {
		this.unitNumber = unitNumber;
	}

	public String getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public String getUpdatedOn() {
		return this.updatedOn;
	}

	public void setUpdatedOn(String updatedOn) {
		this.updatedOn = updatedOn;
	}

	public String getVatAmount() {
		return this.vatAmount;
	}

	public void setVatAmount(String vatAmount) {
		this.vatAmount = vatAmount;
	}

	public String getWhtAmount() {
		return this.whtAmount;
	}

	public void setWhtAmount(String whtAmount) {
		this.whtAmount = whtAmount;
	}

}